// 处理时间
export const formatDuration = (duration) => {
  let min = Math.ceil(duration / 1000 / 600);
  min = min < 10 ? "0" + min : min;
  let sec = Math.ceil((duration / 1000) % 60);
  sec = sec < 10 ? "0" + sec : sec;
  return min + ":" + sec;
};
